package com.example.demo.repository;

import com.example.demo.pojo.File;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface FileRepository extends JpaRepository<File, Integer> {

    @Query(value = "select * from files", nativeQuery = true)
    List<File> findTest();
}
